package ms.unicorn.ui.decorators;

import ms.unicorn.modellanguage.DecoratorProxy;

import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.PolylineDecoration;
import org.eclipse.draw2d.RotatableDecoration;

public class ConnectorOpenArrow extends ConnectorDecorator  {
	
	@Override
	protected RotatableDecoration createDecoration(DecoratorProxy config) {
		PolylineDecoration decor = new PolylineDecoration();
		decor.setForegroundColor(config.getColorParam("color", ColorConstants.black));
		return decor;
	}
}
